using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    /// <summary>
    /// 入库预约表
    /// </summary>
    public class  InboundAppointments: AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        public Guid? TenantId { get; set; }
        
        /// <summary>
        /// 交接状态
        /// </summary>
        [Required]
        public string HandoverStatus { get; set; }
        
        /// <summary>
        /// 申请时间
        /// </summary>
        [Required]
        public string ApplicationTimeline { get; set; }
        
        /// <summary>
        /// 采购编号
        /// </summary>
        [Required]
        public string PurchaseNumber { get; set; }
        
        /// <summary>
        /// 提醒
        /// </summary>
        [Required]
        public string Remind { get; set; }
        
        /// <summary>
        /// 库位
        /// </summary>
        [Required]
        public string BinlocationId { get; set; }
        
        /// <summary>
        /// 单据编号
        /// </summary>
        [Required]
        public string DocumentNumber { get; set; }
        
        /// <summary>
        /// 入库状态
        /// </summary>
        [Required]
        public string InboundStatus { get; set; }
        
        /// <summary>
        /// 外部单号
        /// </summary>
        [Required]
        public string ExternalNumber { get; set; }
        
        /// <summary>
        /// 区域
        /// </summary>
        [Required]
        public string RegionId { get; set; }
        
        /// <summary>
        /// 运单号
        /// </summary>
        [Required]
        public string TrackingNumber { get; set; }
        
        /// <summary>
        /// 库区
        /// </summary>
        [Required]
        public string ReservoirAreaId { get; set; }
        
        /// <summary>
        /// 交接时间
        /// </summary>
        [Required]
        public string HandoverTime { get; set; }
        
        /// <summary>
        /// 预约时间
        /// </summary>
        [Required]
        public string MakeAppointment { get; set; }
        
        /// <summary>
        /// 申请人
        /// </summary>
        [Required]
        public string Applicant { get; set; }
        
        /// <summary>
        /// 库位
        /// </summary>
        [Required]
        public string Field118 { get; set; }
        
        /// <summary>
        /// 仓库
        /// </summary>
        [Required]
        public string RepositoryId { get; set; }
        
        /// <summary>
        /// 单据备注
        /// </summary>
        [Required]
        public string DocumentRemarks { get; set; }
        
        /// <summary>
        /// 承运商
        /// </summary>
        [Required]
        public string Carriers { get; set; }
        
        /// <summary>
        /// 单据类型
        /// </summary>
        [Required]
        public string Documenttype { get; set; }
        
		
		public bool IsDeleted { get; set; }
    }
}